package cn.iocoder.yudao.module.signature.controller.admin.device.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 苹果设备信息分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class AppleDevicePageReqVO extends PageParam {

    @Schema(description = "udid", example = "16986")
    private String udid;

    @Schema(description = "苹果设备id", example = "32691")
    private String deviceId;

    @Schema(description = "苹果证书id", example = "16749")
    private String cerId;

    @Schema(description = "苹果证书编码")
    private String cerNumber;

    @Schema(description = "苹果开发者账号id", example = "4055")
    private Long appAccountId;

    @Schema(description = "账号类型（公共 个人）", example = "1")
    private String accountType;

    @Schema(description = "质保类型（公共 个人）", example = "2")
    private String warrantyType;

    @Schema(description = "类别 预约秒出", example = "1")
    private String classType;

    @Schema(description = "版本 摆烂 躺平 加强")
    private String orderVersion;

    @Schema(description = "证书名称", example = "李四")
    private String cerName;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;
    @Schema(description = "userName", example = "16986")
    private String userName;
}